From: Keir Fraser Date: Mon, 22 Feb 2010 10:02:17 +0000 (+0000) Subject: tmem: Quieten noisy printk in non-debug build X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12583 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=8a5761d2b7238cf4a15c79307307031757c9b38b;p=xen.git tmem: Quieten noisy printk in non-debug build Signed-off-by: Keir Fraser --- diff --git a/xen/common/tmem.c b/xen/common/tmem.c index 82075b6944..c2f6c74f1f 100644 --- a/xen/common/tmem.c +++ b/xen/common/tmem.c @@ -2529,7 +2529,9 @@ EXPORT void *tmem_relinquish_pages(unsigned int order, unsigned int memflags) relinq_attempts++; if ( order > 0 ) { +#ifndef NDEBUG printk("tmem_relinquish_page: failing order=%d\n", order); +#endif return NULL; }